package articles

import "gorm.io/gorm"

type Cate struct{}

func (receiver *Cate) IdFind(id int) func(db *gorm.DB) *gorm.DB {
	return func(db *gorm.DB) *gorm.DB {
		return db.Where("id = ?", id)
	}
}
